package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 每日制令单对象 fa_esm_orderinfo
 * 
 * @author colin
 * @date 2021-09-16
 */
public class FaEsmOrderinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 产线sn */
    @Excel(name = "产线sn")
    private String sn;

    /** PO */
    @Excel(name = "PO")
    private String po;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date riqi;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 型体 */
    @Excel(name = "型体")
    private String style;

    /** 其他订单信息 */
    @Excel(name = "其他订单信息")
    private String content;

    /** 产线信息 */
    private List<FaEsmPline> faEsmPlineList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setPo(String po) 
    {
        this.po = po;
    }

    public String getPo() 
    {
        return po;
    }
    public void setRiqi(Date riqi) 
    {
        this.riqi = riqi;
    }

    public Date getRiqi() 
    {
        return riqi;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setStyle(String style) 
    {
        this.style = style;
    }

    public String getStyle() 
    {
        return style;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public List<FaEsmPline> getFaEsmPlineList()
    {
        return faEsmPlineList;
    }

    public void setFaEsmPlineList(List<FaEsmPline> faEsmPlineList)
    {
        this.faEsmPlineList = faEsmPlineList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sn", getSn())
            .append("po", getPo())
            .append("riqi", getRiqi())
            .append("num", getNum())
            .append("style", getStyle())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("faEsmPlineList", getFaEsmPlineList())
            .toString();
    }
}
